home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19990725-20000114
/
000070_news@columbia.edu _Wed Sep 1 12:49:53 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2000-01-13
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA15621
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 1 Sep 1999 12:49:53 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA09984
for kermit.misc@watsun.cc.columbia.edu; Wed, 1 Sep 1999 12:37:32 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: VMS batch not showing file transfer info ?? - BETA 6
Date: 1 Sep 1999 16:37:31 GMT
Organization: Columbia University
Message-ID: <7qjkob$9nt$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <7qh677$jah$1@bashir.ici.net>,
Michael Hamelin <hamelin@ici.net> wrote:
: Ran beta 4...still no batch information being displayed...get TT error
: message and no output.
:
: version 5 - 188 was fine...scripts haven't changed, nor the account it runs
: from. This is a problem with Version 7 - beta 4 & 6...is this fixed yet ?
:
I don't know what's broken. If I create the following batch job:
$ IF F$MODE() .EQS. "BATCH" THEN SET NOVERIFY
$ write sys$output "Hello from Batch job"
$ kermit
def passwd xxxxxxxxxxx
def userid fdc
set prompt {}
echo Hello from \v(program)
asg prompt {\13\10$ }
set exit warning off
set login userid {}
set input timeout quit
set input echo on
set host some.host.name.com
input 20 login:
lineout \m(userid)
input 5 Password:
lineout \m(passwd)
input 30 \m(prompt)
lineout cd tmp
input 5 \m(prompt)
lineout kermit -r
input 5 READY TO RECEIVE...
send foo.bar
pause 1
lineout exit
pause 1
exit
$ write sys$output "Batch job finished"
and SUBMIT it, using C-Kermit 7.0.196 Beta.09 on VMS, it runs exactly as
expected -- that is, it logs into the remote computer and sends it a file,
and creates a batch log file containing a transcript of the session.
(Note that I don't recommend putting passwords in batch files, but that's
another matter.)
- Frank